//
//  NavigationController.h
//  LotteryClient
//
//  Created by Suny on 14-7-7.
//  Copyright (c) 2014年 CTTC. All rights reserved.
//

#import <UIKit/UIKit.h>
@class NavigationController;
@protocol NavigationControllerDelegate <NSObject>

@optional

- (void)navigationController:(NavigationController *)navigationController willPopViewController:(UIViewController *)viewController;
- (void)navigationController:(NavigationController *)navigationController didPopViewController:(UIViewController *)viewController;

- (void)navigationController:(NavigationController *)navigationController didPushViewController:(UIViewController *)viewController;

/*
 * 询问当前viewController，导航手势是否可用.
 */
- (BOOL)navigationController:(NavigationController *)navigationController shouldNavigateInteractiveGestureRecognizerBegin:(UIGestureRecognizer *)gestureRecognizer;

@end

@interface NavigationController : UINavigationController

@end
